﻿@CHARSET "UTF-8";
html, body {
    width: 98%;
    height: 98%;
    font-family: 微软雅黑;
    font-size: 14px;
    background: url(../image/pattern.png) repeat, linear-gradient(#e1e4e7, #f3f4f5);
}
a:hover,a:link,a:visited,a:active,a:focus{
    color: black;
    text-decoration: none;
}
li{ list-style: none;}

.index-main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -80%);
    width: 300px;
    min-height: 200px;
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 0 10px #5e5e5e;
    background-color: #5FA0D3;
}
.index-main li {padding: 5px 0;}

.chart-main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    min-height: 200px;
    height: 700px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px #5e5e5e;
}
.chart-nav {
    text-align: center;
    float: left;
    width: 60px;
    background-color: #5FA0D3;height: 100%;
    border-right: #101010 1px;
    border-radius: 10px 0 0 10px;
}
.chart-nav .avatar {
    background-color: #ffffff;
    border: 1px solid #03A9F4;
    width: 40px;
    margin: 20px 0 10px 10px;
    border-radius: 5px;
}
.chart-nav .avatar img{
    width: 40px;
}
.chart-nav .icon {
    margin: 10px 0;
}
.chart-nav .icon img{
    width: 36px;
}
.chart-content {
    border-radius: 0 10px 10px 0;
    float: left;
    width: 940px;margin: 0 auto;
    height: 100%;
}
.chart-head {
    height: 30px;width: 100%;box-shadow: 0px 20px 20px -20px #5E5E5E;border-bottom: 1px solid #afb1b2;
}
.chart-head-left {
    float: left;
    line-height: 30px;
    margin-left: 20px;
    font-size: 12px;
    color: #555555;
}
.chart-head-right {
    float: right;
    line-height: 30px;
    margin-right: 20px;
    font-size: 12px;
    color: #555555;
}
.chart-list {
    float: left;
    width: 239px;
    margin: 0 auto;
    height: 669px;
    border-right: 1px solid #afb1b2;
}
.chart-list-items {padding: 5px 10px;}
.chart-list-items ul{padding: 10px 0;}
.chart-list-items ul li{height:55px;padding: 10px 0 0; border-bottom: 1px solid #eaeaea;}
.chart-list-items ul li.activity{background-color: #eaeaea;}
.chart-list-items ul li img{width:45px;height: 45px;vertical-align:middle;}
.chart-list-items ul li .avatar{float:left;height: 45px;width: 45px;}
.chart-list-items ul li .name{float:left;height:40px;line-height: 45px;width: 120px;padding-left: 10px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.chart-list-items ul li .newMsg{float: right;height:40px;width: 40px;font-size: 18px;color: red;text-align: center;display: none;}
.chart-msg {width: 700px;padding-left: 240px;}
.chart-msg-box {height: 400px;overflow-y: auto;padding: 15px;}
.chart-msg-box .time{text-align: center;font-size: 12px;}
.chart-msg-box img{max-width:50%}
.chart-msg-box .info{padding: 10px 15px;
    margin: 15px 0;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #31708f;
    background-color: #ebf5f9;
    border-color: #c9e0e4;
}
.chart-input {
    width: 100%; margin: 0 auto; height: 100%;
}
.btn-send{
    width: 160px;
    float: right;
    margin: 10px;
}
.chart-btn {
    text-align: center;
    padding: 10px 16px;
    line-height: 1.3333333;
    border-radius: 6px;
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

/** 以下为单聊消息样式 */
.p2p-msg-box {margin: 50px 10px 20px 10px;background-color: #5FA0D3;}
.p2p-item {margin-top: 10px;}
.p2p-item input{height: 30px; width: 200px;}
.p2p-item select{height: 36px; width: 204px;}